//
//  NavBarAppDelegate.h
//  NavBar
//
//  Created by Thiago on 23/07/2009.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavBarViewController.h"
#import "UserPreferencesViewController.h"

@interface NavBarAppDelegate : NSObject <UIApplicationDelegate, UIWebViewDelegate> {
    UIWindow *window;
	UIWebView *myWebView;
	NavBarViewController *mainController;
	UserPreferencesViewController *prefController;
	NSArray *userPrefences;
	NSMutableArray *actionDescrArray;
	NSMutableArray *actionURLArray;
	NSInteger isAVLoaded;
	NSMutableArray *statAttrArray;
	NSMutableArray *statValArray;
	NSMutableArray *sectionContents;
}

@property (nonatomic, retain) UIWebView *myWebView;
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) NavBarViewController *mainController;
@property (nonatomic, retain) UserPreferencesViewController *prefController;
@property (nonatomic, retain) NSArray *userPrefences;
@property (nonatomic, retain) NSMutableArray *actionDescrArray;
@property (nonatomic, retain) NSMutableArray *actionURLArray;
@property (nonatomic, retain) NSMutableArray *statAttrArray;
@property (nonatomic, retain) NSMutableArray *statValArray;
@property (nonatomic, retain) NSMutableArray *sectionContents;
@property (nonatomic, assign) NSInteger isAVLoaded;

-(BOOL)loadPreferences;

@end

